package com.yuxiu.edu.mapper;

import com.yuxiu.edu.model.employee;
import com.yuxiu.edu.model.employeeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface employeeMapper {
    int countByExample(employeeExample example);

    int deleteByExample(employeeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(employee record);

    int insertSelective(employee record);

    List<employee> selectByExample(employeeExample example);

    employee selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") employee record, @Param("example") employeeExample example);

    int updateByExample(@Param("record") employee record, @Param("example") employeeExample example);

    int updateByPrimaryKeySelective(employee record);

    int updateByPrimaryKey(employee record);
}